package com.shop.auto.user.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.shop.auto.service.UserService;
import com.shop.auto.service.common.Response;
import com.shop.auto.service.entity.UserEntity;
import com.shop.auto.service.request.LoginReq;

/**
 * Created by zhangls on 2018/3/7.
 */
@Service(version = "1.0.0")
public class UserServiceImpl implements UserService {

    @Override
    public Response<UserEntity> login(LoginReq loginReq) {
        UserEntity userEntity = new UserEntity();
        userEntity.setLoginName("张凌");

        return new Response<UserEntity>(userEntity);
    }
}
